const state = {
  navigationList:[],
  navigationClick:0,
}
const mutations = {
  GETNAVIGATION(state:any,val:any){
    state.navigationList = val
  },
  NAVIGATIONCLICK(state:any,val:any){
    state.navigationClick = val
  }
}

const actions = {
  getNavigation(context:any,val:any){
    context.commit("GETNAVIGATION",val)
  },
  navigationClick(context:any,val:any){
    context.commit("NAVIGATIONCLICK",val)
  }
}

export default {
  namespaced:true,
  state,
  mutations,
  actions
}